package cn.wolfcode.shop.web.vo;

import cn.wolfcode.shop.web.validator.IsMobile;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * Created by wolfcode-lanxw
 */
@Setter@Getter
public class LoginVo {
    @NotEmpty(message = "手机号码不能为空")
    @IsMobile
    private String mobile;
    @NotEmpty(message = "密码不能为空")
    private String password;
}
